<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" />

 <script type="text/javascript" charset="utf-8" src="./kindeditor/kindeditor.js"></script>
 <script type="text/javascript">
    KE.show({
        id : 'body',
        cssPath : './kindeditor/index.css',
		urlType : 'absolute'
    });
  </script>

<title>管理区域</title>
</head>

<body>
<div id="man_zone">

<form action="?action=edit" method="post" enctype="multipart/form-data">
 <input name="aid" type="hidden" id="aid" value="<?php echo $aid;?>" />
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td width="15%" align="right" class="left_title_1">文章标题：</td>
      <td width="85%"><input name="title" type="text" id="title" value="<?php echo $value['title'] ?>" /></td>
    </tr>
    <tr>
      <td align="right" class="left_title_2">所属分类：</td>
      <td>
	  <?php echo $selectstr;?>	  </td>
    </tr>
    <tr>
      <td align="right" class="left_title_1">文章图片：</td>
      <td><input name="fileimg[]" type="file" id="fileimg[]" />
        <img onerror="this.src='images/noimg.gif'" src="/<?php echo $value['litpic'];?>" width="80" height="50" />
        <input name="imgold" type="hidden" id="imgold" value="<?php echo $value['litpic'];?>" /></td>
    </tr>
    <tr>
      <td align="right" class="left_title_1">外链地址：</td>
      <td><input name="linkurl" type="text" id="linkurl" value="<?php echo $value['linkurl'] ?>" /></td>
    </tr>
    <tr>
      <td align="right" class="left_title_2">排序：</td>
      <td><input name="order" type="text" id="order" value="<?php echo $value['order'] ?>" /></td>
    </tr>
    <tr>
      <td align="right" class="left_title_1">SEO关键词：</td>
      <td><textarea name="seokeywords" cols="50" rows="4" id="seokeywords"><?php echo $value['seokeywords'] ?></textarea></td>
    </tr>
    <tr>
      <td align="right" class="left_title_1">SEO内容描述：</td>
      <td><textarea name="seodescription" cols="50" rows="4" id="seodescription"><?php echo $value['seodescription'] ?></textarea></td>
    </tr>
    <tr>
      <td align="right" class="left_title_1">文章内容：</td>
      <td><textarea name="body" id="body" cols="50" rows="4" style="width:700px;height:200px;visibility:hidden;"><?php echo $value['body'] ?></textarea></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="right" class="left_title_2">&nbsp;</td>
      <td><input type="submit" name="Submit" value="提交" />
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" name="Submit2" value="重置" /></td>
    </tr>
  </table>
  </form>
</div>
</body>
</html>
